//
//  BaseTableViewController.m
//  CurriculumFactory
//
//  Created by 张璞 on 2020/3/17.
//

#import "BaseTableViewController.h"

@interface BaseTableViewController ()

@end

@implementation BaseTableViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor=[UIColor whiteColor];
    // Do any additional setup after loading the view.
}
//当自定义了`leftBarButtonItem`按钮之后，系统的手势返回就失效了。可以通过`forceEnableInteractivePopGestureRecognizer`来决定要不要把那个手势返回强制加回来。当 interactivePopGestureRecognizer.enabled = NO 或者当前`UINavigationController`堆栈的viewControllers小于2的时候此方法无效。
-(BOOL)forceEnableInteractivePopGestureRecognizer {
    return YES;
}
- (void)isShowNavBack_pop {
    self.navigationItem.leftBarButtonItem=[UIFactory create_Nav_itemWithTitle:@"" imageName:@"icon_back_24_black" TitleColor:nil target:self action:@selector(leftNavItemClicked)];
}
- (void)leftNavItemClicked {
    [self.navigationController popViewControllerAnimated:YES];
}

///结束header 刷新
- (void)end_header_refresh {
    
}
///结束foot刷新
- (void)end_foot_refresh {
    
}
//开始进入刷新状态
- (void)start_refresh {
     
}


- (void)dealloc {
   NSString *name = NSStringFromClass([self class]);
    NSLog(@"%@ 释放了",name);
}
@end
